/*
  gutil.h
  Description: util for GIGI, including system porting,
               socket, string, gigi object, 
  Created: 2009.10.26
  Version: 1.0
*/

#ifndef __GUTIL_H__
#define __GUTIL_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "gbase.h"

int fd_send_object (GIGI_STREAM s, int type, const void * buff, int count);
int fd_recv_object (GIGI_STREAM s, int type, void * buff, int * count);

#ifdef __cplusplus
}
#endif

#endif

